package com.coolingme.kpi;

import java.util.Random;

/**
 * 经理
 *
 * @author wangyue
 * @date 2020/10/10 10:03
 */
public class Manager extends AbstractEmployee {
    public Manager(String name) {
        super(name);
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visitor(this);
    }

    public Integer getProducts() {
        return new Random().nextInt(10);
    }
}
